
*{
    margin: 0;
    padding: 0;
}
html{
    height: 100%;
    width: 100%;
}
body{
    background:url("../images/background.jpg");
    background-size: 100% 100%;
}
 .image-desc{
     width: 1250px;
     margin: auto;
 }

.box{
    width: 300px;
    height: 300px;
    margin-left:5px;
    margin-top:5px;
    position: relative;
    perspective: 1000px;
    display: inline-block;
}
.box .box-img,.box-content,img{
    width: 100%;
    height: 100%;
}
.box .box-img{
    transition: all 0.50s ease-in-out 0s;
}
.box .box-content{
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background: rgba(0,0,0,0.7);
    transition: all 0.50s ease-in-out 0s;
}
.box .title{
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
}
.box .description{
    font-size: 14px;
    line-height: 24px;
    color: #fff;
}
.box .title:after,
.box .description:after{
    content: "";
    width: 80%;
    display: block;
    border-bottom: 1px solid #fff;
    margin: 15px auto;
}
.box .social-links{
    list-style: none;
}
.box .social-links li{
    display: inline-block;
    margin: 0 10px;
}
.box .social-links li a{
    font-size: 20px;
    color: #a6a6a6;
}
.box .social-links li a:hover{
    text-decoration: none;
    color: #fff;
}




.box over-img{
    opacity:1;
    transform: translateY(0) rotateX(0deg);
}
.box:hover .over-img{
    transform: translateY(-100%) rotateX(90deg);
    transform-origin: center bottom 0;
    opacity:0;
}
.box .over-content{
    opacity:0;
}
.box:hover .over-content{
    opacity:1;
}
.box rotate-img{
    transform: rotateY(0deg);
}
.box:hover .rotate-img{
    transform: rotateY(-90deg);
}
.box .rotate-content{
    transform: rotateY(90deg);
}
.box:hover .rotate-content{
    transform: rotateY(0deg);
}
.box .hover-img{
    opacity:1;
}
.box:hover .hover-img{
    opacity:0;
}
.box .hover-content{
    opacity:0;
}
.box:hover .hover-content{
    opacity:1;
}